package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface AdultertypeService {

	public Adultertype saveAdultertype(Adultertype adultertype);

	public Set<Adultertype> loadAdultertypes();

	public Set<Adultertype> loadReferenceAdultertypes(Set<Adultertype> adultertypes);

	public Set<Adultertype> loadAdultertypesByIdSet(Set<Integer> adultertypesId);

	public Map<String, ?> loadAdultertypeObjectReferencedSet(Adultertype adultertype);

	public Map<String, ?> loadAdultertypeClassReferencedSet(Adultertype adultertype);

	public void deleteAdultertype(Adultertype adultertype);

	public void deleteAdultertypes(Set<Integer> deleteAdultertypesId);

	public List<Adultertype> findAllAdultertypes(Integer startResult, Integer maxRows);

	public Adultertype findAdultertypeByPrimaryKey(Integer id);

	public Integer countAdultertypes();

	public Integer countAdultertypes(CmiPagination page);

	public Integer countAdultertypesByName(String queryName);

	public Integer countAdultertypesByDetachedCriteria(CmiPagination page);

}
